//
//  JLProgressHUDManager.h
//  JLHousekeeper
//
//  Created by 吴嘉佳 on 2017/10/4.
//  Copyright © 2017年 吴嘉佳. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
typedef void(^HideHudBlock)(void);
@interface JLProgressHUDManager : NSObject
/********* * 显示提示文字 */
+ (void)showNoticeHud:(NSString *)notice;
+ (void)showNoticeHud:(NSString *)notice targetView:(UIView *)targetView;
+ (void)showNoticeHud:(NSString *)notice targetView:(UIView *)targetView hideBlock:(HideHudBlock)hideBlock;
/*********
 * 显示成功文字
 */
+ (void)showSuccessHud:(NSString *)notice;
/*********
 * 显示失败文字
 */
+ (void)showErrorHud:(NSString *)notice;


/********* * 加载框 */
+ (void)showLoadingHud;
+ (void)showLoadingHud:(NSString *)notice;
+ (void)showLoadingHud:(NSString *)notice targetView:(UIView *)targetView;
+ (void)showLoadingHud:(NSString *)notice targetView:(UIView *)targetView userInteractionEnabled:(BOOL)userInteractionEnabled;


+ (void)hideHud;
@end
